

#include "StdAfx.h"
#include "ComAlign_Util.h"
#include "MeshModel.h"
#include "ModelAlignment.h"


void ComAlign_Util::ComponentAlignment( /*CMeshModel* pModel, */std::vector<CMeshModel*>& vCom, vcg::CallBackPos* cb/* = 0*/ )
{
	std::vector<CMeshModel*>::const_iterator it = vCom.begin();
	for( ; it != vCom.end(); ++ it )
	{
		ModelAlignment<CMeshO>::Align( ( *it )->cm, cb );
	}
}